package cn.com.bod.fas.pm.model.po;

import cn.com.yusys.yusp.commons.mapper.domain.BaseDomain;
import lombok.Data;

import java.io.Serializable;
import javax.persistence.*;


/**
 * @项目名称: scfhdt-customer-starter模块
 * @类名称: CuCompanyLegalContacter
 * @类描述: cu_company_legal_contacter数据实体类
 * @功能描述: 
 * @创建人: hyx
 * @创建时间: 2019-10-14 15:48:48
 * @修改备注: 
 * @修改记录: 修改时间    修改人员    修改原因
 * -------------------------------------------------------------
 * @version 1.0.0
 * @Copyright (c) 宇信科技-版权所有
 */
@Entity
@Data
@Table(name = "cu_company_legal_contacter")
public class CuCompanyLegalContacter extends BaseDomain implements Serializable{
	private static final long serialVersionUID = 1L;
	
	/** PK_法定代表人关系人 **/
	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	@Column(name = "LEGAL_CONTACTER_ID")
	private Long legalContacterId;

	/** 客户编号 **/
	@Column(name = "CUST_ID", unique = false, nullable = true, length = 10)
	private Integer custId;
	
	/** 关系人姓名 **/
	@Column(name = "CONTACTS_NAME", unique = false, nullable = true, length = 20)
	private String contactsName;
	
	/** 证件类型 **/
	@Column(name = "CERT_TYPE_ID", unique = false, nullable = true, length = 6)
	private String certTypeId;
	
	/** 证件号码 **/
	@Column(name = "CERT_NO", unique = false, nullable = true, length = 30)
	private String certNo;
	
	/** 联系电话 **/
	@Column(name = "TEL_NUM", unique = false, nullable = true, length = 15)
	private String telNum;
	
	/** 关系 **/
	@Column(name = "RELA_TYPE_ID", unique = false, nullable = true, length = 6)
	private String relaTypeId;
}